package com.zlll.winner.business.service.media;

import com.alibaba.fastjson.JSONObject;
import com.zlll.winner.business.model.media.MediaNewChatRecords;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 节目聊天记录表 服务类
 * </p>
 *
 * @author Walert
 * @since 2019-10-04
 */
public interface IMediaNewChatRecordsService extends IService<MediaNewChatRecords> {

    /**
     * 添加聊天记录
     * @param params
     * @return
     */
    Object addChatRecord(JSONObject params);

    /**
     * 获取三小时内的聊天记录
     * @param params
     * @return
     */
    Object getThreeHourChatRecords(JSONObject params);

    /**
     * 获取节目聊天记录
     * @param params
     * @return
     */
    Object getNewListChatRecords(JSONObject params);

    /**
     * 刷新聊天记录
     * @param params
     * @return
     */
    Object refreshChatRecords(JSONObject params);

    /**
     * 刷新视频聊天记录
     * @param params
     * @return
     */
    Object refreshVideoChatRecords(JSONObject params);

    /**
     * 刷新音频回放聊天记录
     * @param params
     * @return
     */
    Object refreshAudioChatRecords(JSONObject params);
}
